package week3;
import java.util.Scanner;
public class LowerToUpper {
    public static void main(String[]args){
        Scanner scanner=new Scanner(System.in);
        System.out.print("请输入一个字符：");
        char c= scanner.next().charAt(0);
        char result;
        switch (c){
            case 'a':
                result ='A';
                break;
            case 'b':
                result ='B';
            case 'c':
                result ='C';
            case 'd':
                result ='D';
            case 'e':
                result ='E';
            default:
                result='o';
                break;
        }
        if (result=='o'){
            System.out.println("other");
        }else {
            System.out.println(result);
        }
        scanner.close();
    }
}
